Skip to content

Fix crash traveling to Matataki through the town gate - #195

Merged
Adubbz merged 1 commit into
TheMoonPeople:masterfrom
anxiousintrovert:codex/fix-191-matataki-gate
Oct 20, 2026
Merged

Adubbz merged 1 commit into
TheMoonPeople:masterfrom
anxiousintrovert:codex/fix-191-matataki-gate

Conversation

@anxiousintrovert

@anxiousintrovert anxiousintrovert commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fix the Matataki town-gate crash entirely in port code. No files under ps2/ are changed.

The world-map script command retains its result destination as a native-width RS_STACKDATA* in port-owned storage. A port wrapper publishes the selected map when the original town-menu handler completes. Unit-specific override aliases expose only the required command/menu state; original PS2 sources remain untouched.

Validation (2026-10-19)

Based on current Chronicle master 6ec3b808. Clang Format, Clang Tidy and whitespace checks passed. Windows and Ubuntu builds completed. The reporter's PAL save and recorded 2200-tick town-gate route reached Matataki on Windows, Ubuntu and the Android x86-64 emulator; final screenshots were inspected. Android profile APK builds completed for ARM64 and x86-64. No physical Fold test was performed.

Current Chronicle master pins Kazarov 611182d, which does not supply texture members used by current Chronicle. Kazarov main also changed audio and touch APIs. Local validation therefore used shared Kazarov main 04bd301 with test-only legacy-audio compatibility and Chronicle touch/link integration adjustments. Those unrelated adjustments are not included in this PR. The Windows run used Vulkan; Linux used llvmpipe. Android's host-GPU replay completed and saved its result, although the emulator later became unresponsive. No performance claim is made.

Fixes #191.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T05:43:56.232248Z d4816fb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Adubbz

Adubbz commented Oct 19, 2026

Copy link
Copy Markdown
Member

Please do not change any of the /ps2 source files, all port-related code should be kept completely seperate from the PS2 version

@anxiousintrovert
anxiousintrovert force-pushed the codex/fix-191-matataki-gate branch from d4816fb to 6900770 Compare October 19, 2026 13:13
@Adubbz
Adubbz merged commit 36bec69 into TheMoonPeople:master Oct 20, 2026
1 of 6 checks passed
Adubbz added a commit that referenced this pull request Oct 20, 2026
Both PRs fix the same pointer truncation. Keep #195 rather than reconstructing truncated pointers from the interpreter stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash going from Norune/Nolun to Matataki Village.

2 participants